Integrand size = 26, antiderivative size = 147 \[ \int \sec ^5(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx=\frac {256 i a^4 \sec ^5(c+d x)}{1155 d (a+i a \tan (c+d x))^{5/2}}+\frac {64 i a^3 \sec ^5(c+d x)}{231 d (a+i a \tan (c+d x))^{3/2}}+\frac {8 i a^2 \sec ^5(c+d x)}{33 d \sqrt {a+i a \tan (c+d x)}}+\frac {2 i a \sec ^5(c+d x) \sqrt {a+i a \tan (c+d x)}}{11 d} \]
[Out]
Time = 0.29 (sec) , antiderivative size = 147, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {3575, 3574} \[ \int \sec ^5(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx=\frac {256 i a^4 \sec ^5(c+d x)}{1155 d (a+i a \tan (c+d x))^{5/2}}+\frac {64 i a^3 \sec ^5(c+d x)}{231 d (a+i a \tan (c+d x))^{3/2}}+\frac {8 i a^2 \sec ^5(c+d x)}{33 d \sqrt {a+i a \tan (c+d x)}}+\frac {2 i a \sec ^5(c+d x) \sqrt {a+i a \tan (c+d x)}}{11 d} \]
[In]
[Out]
Rule 3574
Rule 3575
Rubi steps \begin{align*} \text {integral}& = \frac {2 i a \sec ^5(c+d x) \sqrt {a+i a \tan (c+d x)}}{11 d}+\frac {1}{11} (12 a) \int \sec ^5(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx \\ & = \frac {8 i a^2 \sec ^5(c+d x)}{33 d \sqrt {a+i a \tan (c+d x)}}+\frac {2 i a \sec ^5(c+d x) \sqrt {a+i a \tan (c+d x)}}{11 d}+\frac {1}{33} \left (32 a^2\right ) \int \frac {\sec ^5(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx \\ & = \frac {64 i a^3 \sec ^5(c+d x)}{231 d (a+i a \tan (c+d x))^{3/2}}+\frac {8 i a^2 \sec ^5(c+d x)}{33 d \sqrt {a+i a \tan (c+d x)}}+\frac {2 i a \sec ^5(c+d x) \sqrt {a+i a \tan (c+d x)}}{11 d}+\frac {1}{231} \left (128 a^3\right ) \int \frac {\sec ^5(c+d x)}{(a+i a \tan (c+d x))^{3/2}} \, dx \\ & = \frac {256 i a^4 \sec ^5(c+d x)}{1155 d (a+i a \tan (c+d x))^{5/2}}+\frac {64 i a^3 \sec ^5(c+d x)}{231 d (a+i a \tan (c+d x))^{3/2}}+\frac {8 i a^2 \sec ^5(c+d x)}{33 d \sqrt {a+i a \tan (c+d x)}}+\frac {2 i a \sec ^5(c+d x) \sqrt {a+i a \tan (c+d x)}}{11 d} \\ \end{align*}
Time = 1.26 (sec) , antiderivative size = 109, normalized size of antiderivative = 0.74 \[ \int \sec ^5(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx=\frac {2 a \sec ^4(c+d x) (\cos (d x)-i \sin (d x)) (i \cos (3 c+2 d x)+\sin (3 c+2 d x)) (39+494 \cos (2 (c+d x))+215 i \sec (c+d x) \sin (3 (c+d x))+110 i \tan (c+d x)) \sqrt {a+i a \tan (c+d x)}}{1155 d} \]
[In]
[Out]
Time = 7.16 (sec) , antiderivative size = 169, normalized size of antiderivative = 1.15
method | result | size |
default | \(\frac {2 a \sqrt {a \left (1+i \tan \left (d x +c \right )\right )}\, \left (-72 i \sec \left (d x +c \right )+105 i \left (\tan ^{2}\left (d x +c \right )\right ) \left (\sec ^{3}\left (d x +c \right )\right )+1024 i \cos \left (d x +c \right ) \left (\sin ^{2}\left (d x +c \right )\right )+512 \sin \left (d x +c \right )-384 i \cos \left (d x +c \right )-35 i \left (\sec ^{3}\left (d x +c \right )\right )+192 \sec \left (d x +c \right ) \tan \left (d x +c \right )+1024 i \left (\cos ^{3}\left (d x +c \right )\right )+128 i \sin \left (d x +c \right ) \tan \left (d x +c \right )+140 \tan \left (d x +c \right ) \left (\sec ^{3}\left (d x +c \right )\right )+120 i \left (\tan ^{2}\left (d x +c \right )\right ) \sec \left (d x +c \right )\right )}{1155 d}\) | \(169\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 125, normalized size of antiderivative = 0.85 \[ \int \sec ^5(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx=-\frac {64 \, \sqrt {2} {\left (-231 i \, a e^{\left (6 i \, d x + 6 i \, c\right )} - 198 i \, a e^{\left (4 i \, d x + 4 i \, c\right )} - 88 i \, a e^{\left (2 i \, d x + 2 i \, c\right )} - 16 i \, a\right )} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}}{1155 \, {\left (d e^{\left (10 i \, d x + 10 i \, c\right )} + 5 \, d e^{\left (8 i \, d x + 8 i \, c\right )} + 10 \, d e^{\left (6 i \, d x + 6 i \, c\right )} + 10 \, d e^{\left (4 i \, d x + 4 i \, c\right )} + 5 \, d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )}} \]
[In]
[Out]
\[ \int \sec ^5(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx=\int \left (i a \left (\tan {\left (c + d x \right )} - i\right )\right )^{\frac {3}{2}} \sec ^{5}{\left (c + d x \right )}\, dx \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 994 vs. \(2 (115) = 230\).
Time = 9.67 (sec) , antiderivative size = 994, normalized size of antiderivative = 6.76 \[ \int \sec ^5(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \sec ^5(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx=\int { {\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac {3}{2}} \sec \left (d x + c\right )^{5} \,d x } \]
[In]
[Out]
Time = 8.40 (sec) , antiderivative size = 293, normalized size of antiderivative = 1.99 \[ \int \sec ^5(c+d x) (a+i a \tan (c+d x))^{3/2} \, dx=\frac {a\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,64{}\mathrm {i}}{5\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^2}-\frac {a\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,192{}\mathrm {i}}{7\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^3}+\frac {a\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,64{}\mathrm {i}}{3\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^4}-\frac {a\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,64{}\mathrm {i}}{11\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^5} \]
[In]
[Out]